@media ( max-width: 600px ) {
	// stylelint-disable-next-line selector-max-id
	.is-iframed #wpbody {
		padding-top: 0;
	}

	.is-iframed .components-editor-notices__snackbar {
		padding-right: 80px;
	}
}

@media ( min-width: 600px ) {
	body.is-iframed.is-fullscreen-mode .edit-post-header {
		top: 0;
	}
}

body.is-fullscreen-mode {
	.edit-post-editor-regions,
	.components-editor-notices__dismissible {
		top: 0;
	}
}

@media ( min-width: 782px ) and ( max-width: 1079px ) {
	.is-fullscreen-mode .edit-post-layout.has-fixed-toolbar .components-notice {
		top: 37px;
	}
}

.components-notice-list {
	z-index: 29; // Ensure notices are placed behind the editor header (z-index: 30).
}
